package EvaTCPL;
import java.lang.Math;

public class EvaTCPLexp extends EvaTCPLaexpression
{

  public EvaTCPLexp(EvaTCPLaexpression e)
    {
      super(e);
    }

  /** Evaluate this arithmetic expression. */
  public double evaluate()
    {
      return Math.exp(sons[0].evaluate());
    }

  public String toString()
    {
      return "exp("+sons[0].toString()+")";
    }

}
